import config from './gameconfig.js';
import Tank from './tank.js';
class PlayerTank extends Tank {
    constructor(x, y, imgSrc, width, height, life, speed) {
        imgSrc = config.PlayerSprites[0];
        super(x, y, imgSrc, width, height, life);
    }
    controlMove(col) {
        this.chageImage();
        return this.move(col);
    }
}
export default PlayerTank;
